package com.hsj.common.gateway.entity;


import com.cjxch.supermybatis.base.annotation.PrimaryKey;
import com.cjxch.supermybatis.base.annotation.Table;
import com.cjxch.supermybatis.base.enu.PrimaryKeyType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ClassName : HsjGatewayDo
 * @Description : 网关实体类
 * @Author : 康仕球
 * @Date: 2020-07-30 14:37
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table("t_gateway")
public class GatewayDo implements Serializable {

    @PrimaryKey(key = "id", keyType = PrimaryKeyType.AUTO)
    private Integer id;

    private String routeId;

    private String routeName;

    private String routePattern;

    private String routeType;

    private String routeUrl;
}
